class CreateOwnPowers < ActiveRecord::Migration[6.1]
  def change
    create_table :own_powers do |t|
      t.integer :company_id
      t.integer :admin_user_id
      t.integer :order_number
      t.string :img
      t.string :title
      t.string :content

      t.timestamps
    end
    add_index :own_powers, :company_id
    add_index :own_powers, :admin_user_id
  end
end
